
<template>
  <div id="app">
    <h1>vue + ts</h1>
    <router-view></router-view>
    <Header></Header>
  </div>
</template>
<script lang="ts">
import Vue from 'vue';
import { Component } from 'vue-property-decorator'
import Header from './Header.vue'
@Component ({ // 注入
  components: {
    Header
  }
})
export default class App extends Vue {

}
</script>
<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
